<template>
  <div class="frame" @click.self="closePopup">
    <div class="frameBox">
      <div class="chart">
        <Radar></Radar>
      </div>
    </div>
  </div>
</template>
<script setup>
import Radar from '../views/Home/Components/Radar.vue'
const emit = defineEmits(['closePopup'])
function closePopup() {
  emit('closePopup')
}
</script>

<style scoped lang="scss">
.frame {
  position: absolute;
  top: 0;
  //left: 0;
  width: 19.2rem;
  height: 10.8rem;
  background-color: #000;
  opacity: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
}
.frameBox {
  padding: 0.4rem;
  width: 12.2rem;
  height: 6.3rem;
  background: url('../assets/images/common/box.png');
  background-size: 100% 100%;
}
.chart {
  width: 100%;
  height: 100%;
}
</style>
